import React from 'react';

import NoteTopbar from './NoteTopbar';


import './App.less';

export default class App extends React.Component {
  static propTypes = {
    sidebar: React.PropTypes.object,
    selector: React.PropTypes.object,
    paper: React.PropTypes.object,
  };
  render() {
    return (
      <div id="AppContainer">
        <NoteTopbar/>
        <div id="AppViewport">
          {this.props.sidebar}
          {this.props.selector}
          {this.props.paper}
          {this.props.children}
        </div>
      </div>
    )
  }
}